package cn.edu.scau.cmi.mengzhuorong.adapterOfClass;

import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;

import cn.edu.scau.cmi.mengzhuorong.adapterOfClass.Student;

public class AdapterOfClass extends SortUtil implements Target {

	@Override
	public List studentList(List<Student> stuList) {
		List<Integer> stuIdList = stuList.stream().map(Student::getID).collect(Collectors.toList());
	    return stuIdList;
	}
}